GXCleanupOpenConnection
You can use theGXCleanupOpenConnection
function to notify QuickDraw GX that it needs to clean up any actions that it took after receiving aGXOpenConnection
message from your printing extension or printer driver.
void GXCleanupOpenConnection (void);DESCRIPTION
You need to call theGXCleanupOpenConnection
function if you encounter an error in your override of theGXOpenConnection
message and you have already forwarded the message.When you call
GXCleanupOpenConnection
, QuickDraw GX sends theGXCleanupOpenConnection
message, which allows all of the message handlers to reverse any actions that they took in their overrides of theGXOpenConnection
message, such as allocating storage or modifying state information.SEE ALSO
TheGXOpenConnection
andGXCleanupOpenConnection
messages are described in the chapter "Printing Messages."An example of using the
GXCleanupOpenConnection
function is shown in Listing 5-4 on page 5-11.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help